package com.example.wiki.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.wiki.entity.Ebook;
import com.example.wiki.entity.req.EbookQueryReq;
import com.example.wiki.entity.resp.CommonResp;
import com.example.wiki.entity.resp.EbookQueryResp;
import com.example.wiki.entity.resp.PageResp;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 电子书 服务类
 * </p>
 *
 * @author jerry
 * @since 2024-10-08
 */
public interface IEbookService extends IService<Ebook> {

    public CommonResp<PageResp<EbookQueryResp>> query(EbookQueryReq req);

    //文件上传处理的接口
    public String uploadImage(MultipartFile file, String folder);

}
